home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 006 / tc41.arc / TC41.DOC < prev   
Encoding:
Text File  |  1985-11-03  |  21.3 KB  |  384 lines

  1.  
  2.                                  Turbo Calc v4.0
  3.  
  4.                     Copyright (c) 1985: by P & M Software Co.
  5.  
  6.        Turbo Calc is "User Supported" software.  If you like the program,
  7.        use it, and want to see it supported and improved in the future, a
  8.        contribution of $20 would be appreciated.  Please copy and share
  9.        this program with your friends, even if you are unable to make a
  10.        contribution.
  11.  
  12.  
  13.                        Send Contributions to:
  14.  
  15.                             P & M Software Co.
  16.                             9350 Country Creek #30
  17.                             Houston, Tx 77036
  18.  
  19.  
  20.        Turbo Calc is intended to be powerfull, yet easy to use.  It
  21.        supports a medium sized spreadsheet, 511 rows by 48 columns.  And
  22.        supports many math and financial functions.  Hopefully the user
  23.        can begin using the program without reading a lot of documentation,
  24.        but some information is necessary before one can begin.  The program
  25.        requires a minimum of 256k and can use as much as 640k.
  26.  
  27.        First, let us examine the layout of the worksheet.  On screen,
  28.        there will be displayed 7 columns by 21 rows.  The user may scroll
  29.        both vertically and horizontally.  The vertical scroll is
  30.        accomplished by depressing the PgUp or PgDn keys.  This will
  31.        scroll 20 rows up or down, a single line scroll is achieved by
  32.        moving the cursor off the top or bottom of the screen, with the up
  33.        or down arrow keys.  The horizontal scroll is achieved by depressing
  34.        the Ctrl key and the left or right arrow keys simultaneously.
  35.  
  36.        On the top and bottom lines of the screen there appears some status
  37.        information: the current cell, the amount of memory available, the
  38.        auto-calc indicator, the current marked range, the current drive
  39.        and directory, the CAPS and NUM lock indicators.  On the second
  40.        line of the screen will appear messages and the numeric or formula
  41.        content of the current cell.
  42.  
  43.        In general, the user may move the cursor to whatever cell he
  44.        desires, and enter the text, number or formula that needs to be in
  45.        that location.  If entering text, it can overwrite cells to the
  46.        right, but may not be longer than 80 characters.
  47.  
  48.        When you begin to enter something into a cell, the first keystroke
  49.        is VERY important.  It will determine the type of item stored in
  50.        the cell: formulas begin with the '(' character, numbers with 0
  51.        thru 9, '+' or '-', text with any other character.  When making the
  52.        first keystroke of a cell, some keys have different meanings, than
  53.        on succeeding keystrokes.  For example, the left and right arrow
  54.        keys will move the cursor around the worksheet, but during the
  55.        entry of data into a cell, these keys will act to move the cursor
  56.        within the cell, to edit the data.  Other keys that behave
  57.        differently, are the Home, End and Esc keys.  The Home and End keys
  58.        move the cursor to the beginning or the end of the worksheet, but
  59.        during the entry of data, they move to the beginning or end of the
  60.        current cell.  Also during data entry, the Esc key will act to
  61.        finish the entry and move to the cell below, so that a column of
  62.        numbers may be entered with the Num Lock turned on.
  63.  
  64.        If you depress the Esc key, while not entering data, a list of
  65.        commands will appear, any of the displayed commands may be
  66.        executed by pressing the indicated letter.  For experienced users,
  67.        the commands may be entered directly, without using the Esc key,
  68.        by pressing the Alt key and the command letter together.
  69.  
  70.        Following are two lists.  The first is a list the the cursor
  71.        control and editing keys.  The second is a list of the command
  72.        letters.
  73.  
  74.  
  75.                               Action                  Action
  76.        Key Name          During Data Entry           Otherwise
  77.        -------------------------------------------------------------
  78.        Up Arrow        | Finish entry and     | Move to cell above.
  79.                        | move to cell above.  |
  80.        -------------------------------------------------------------
  81.        Down Arrow      | Finish entry and     | Move to cell below.
  82.                        | move to cell below.  |
  83.        -------------------------------------------------------------
  84.        Left Arrow      | Move 1 character to  | Move to cell on the
  85.                        | the left.            | left
  86.        -------------------------------------------------------------
  87.        Right Arrow     | Move 1 character to  | Move to cell on the
  88.                        | the right.           | right.
  89.        -------------------------------------------------------------
  90.        Home            | Move to the start of | Move to cell at the
  91.                        | the cell.            | start of worksheet.
  92.        -------------------------------------------------------------
  93.        End             | Move to the end of   | Move to cell at the
  94.                        | the cell.            | end of worksheet.
  95.        -------------------------------------------------------------
  96.        Ctrl + End      | Erase contents of    | Erase current cell
  97.                        | cell from cursor to  | entirely.
  98.                        | end of cell.         |
  99.        -------------------------------------------------------------
  100.        Ctrl + L. Arrow | Finish entry and     | Scroll to the left.
  101.                        | scroll to the left.  |
  102.        -------------------------------------------------------------
  103.        Ctrl + R. Arrow | Finish entry and     | Scroll to the right.
  104.                        | scroll to the right. |
  105.        -------------------------------------------------------------
  106.        Tab             | Finish entry and     | Move to cell on the
  107.                        | move to cell right.  | right.
  108.        -------------------------------------------------------------
  109.        Shift + Tab     | Finish entry and     | Move to cell on the
  110.                        | move to cell left.   | left.
  111.        -------------------------------------------------------------
  112.        Ins             | Toggle Insert Mode.  | Toggle Insert Mode.
  113.                        | Fat cursor = Insert. | Fat cursor = Insert.
  114.        -------------------------------------------------------------
  115.        Del             | Delete character at  | Delete cursor at
  116.                        | cursor.              | cursor.
  117.        -------------------------------------------------------------
  118.        Backspace       | Delete character to  | No action.
  119.                        | left of cursor.      |
  120.        -------------------------------------------------------------
  121.        Enter           | Finish entry.  Stay  | No action.
  122.                        | in current cell.     |
  123.        -------------------------------------------------------------
  124.        Esc             | Finish entry and     | Displays the command
  125.                        | move to cell below.  | menu.
  126.                        | Nice for using NUM   |
  127.                        | Lock mode with a     |
  128.                        | column of numbers!   |
  129.        -------------------------------------------------------------
  130.  
  131.  
  132.  
  133.        Command Table: With Alt key, or preceeded by Esc.  Esc brings
  134.                       up the command list.
  135.        -------------------------------------------------------------
  136.        X         Exit to DOS.
  137.        -------------------------------------------------------------
  138.        Q         Remove command list and return to worksheet.
  139.        -------------------------------------------------------------
  140.        L         Produce a directory list.
  141.        -------------------------------------------------------------
  142.        N         Change to new directory and/or disk drive.
  143.        -------------------------------------------------------------
  144.        R         Read worksheet from disk into memory.
  145.        -------------------------------------------------------------
  146.        S         Store worksheet from memory onto disk.
  147.  
  148.                  Both the R and S commands assume the .SSF extension
  149.                  if the user doesn't specify one.  If no extension
  150.                  is desired end the filename with a '.' and no ext-
  151.                  ension will be used.
  152.        -------------------------------------------------------------
  153.        E         Erase the current worksheet from memory.
  154.        -------------------------------------------------------------
  155.        G         Perform the calculations specified by user
  156.                  formula.
  157.        -------------------------------------------------------------
  158.        P         Print the worksheet to disk file or printer.
  159.        -------------------------------------------------------------
  160.        F         Change cell format.  Each cell may have a
  161.                  different format.  The default is leading sign, no
  162.                  comma and no currency sysmbol.  You may choose 1 of
  163.                  5 different formats: dollars, comma insertion,
  164.                  percent, scientific and the default.
  165.        -------------------------------------------------------------
  166.        W         The width of each column defaults to 10, but it can
  167.                  be changed with this command to any value between
  168.                  1 and 30.
  169.        -------------------------------------------------------------
  170.        B         Mark the start of the range at the current cell.
  171.        -------------------------------------------------------------
  172.        K         Mark the end of the range at the current cell.
  173.        -------------------------------------------------------------
  174.        H         The user may specify that columns are to be held
  175.                  on the left of the screen and not horizontally
  176.                  scrolled.  4 maximum.
  177.        -------------------------------------------------------------
  178.        I         Insert Row or Column.  Formula will be adjusted
  179.                  to reflect their new locations.  Absolute addresses
  180.                  may be used, by placing a '0' before the row.  For
  181.                  example 'C5' is a relative cell address and would
  182.                  be adjusted if needed, but 'C05' is an absolute
  183.                  cell address and would not be adjusted.
  184.        -------------------------------------------------------------
  185.        D         Delete Row or Column.  Formula will be adjusted
  186.                  as given above for 'I'.
  187.        -------------------------------------------------------------
  188.        J         Jump directly to a cell.  Avoid scrolling when you
  189.                  know where to go.
  190.        -------------------------------------------------------------
  191.        M         Move the indicated range to the current location.
  192.                  The user is given the opportunity to alter the
  193.                  range specification.  Formula are adjusted as
  194.                  above for 'I'.
  195.        -------------------------------------------------------------
  196.        C         Copy the indicated range to the current location.
  197.                  The user is given the opportunity to alter the
  198.                  range specification.  Formula are adjusted as
  199.                  above for 'I'.
  200.        -------------------------------------------------------------
  201.        A         Toggle auto-calculate.  If many formulas are in the
  202.                  worksheet, it may save time to turn auto-calculate
  203.                  off, and manually calculate with the 'G' command.
  204.        -------------------------------------------------------------
  205.  
  206.  
  207.  
  208.        Now some discussion about selected topics:
  209.  
  210.        1.   Formulas.
  211.  
  212.             Formulas are composed of operational symbols, cell addresses,
  213.             constants, and functions.  Each formula is enclosed within
  214.             parenthesis, like this: (A1+C2+F4).  This formula would take
  215.             the content of the 3 cells and add them together, depositing
  216.             the result in the cell where the formula is located.
  217.  
  218.             The following function are available:
  219.  
  220.             Name     Description                          Usage
  221.             ----     -----------                          --------
  222.             ABS      Absolute value.                      ABS(p)
  223.             SQRT     Square root.                         SQRT(p)
  224.             SQR      Square.                              SQR(p)
  225.             MOD      The remainder of p1 divided by p2.   MOD(p1,p2)
  226.  
  227.             PI       3.1415926536                         PI
  228.             SIN      Sine of angle in radians.            SIN(p)
  229.             ASIN     Arc sine.                            ASIN(p)
  230.             COS      Cosine of angle in radians.          COS(p)
  231.             ACOS     Arc cosine.                          ACOS(p)
  232.             TAN      Tangent of angle in radians.         TAN(p)
  233.             ATAN     Arc Tangent.                         ATAN(p)
  234.  
  235.             LN       Natural Log.                         LN(p)
  236.             LOG      Log base 10.                         LOG(p)
  237.             E        2.7182818285                         E
  238.             EXP      E raised to the p power.             EXP(p)
  239.  
  240.             NPV      Net present value of a series        NPV(i,r)
  241.                        of future cash flows.
  242.             PMT      Mortgage payment per period.         PMT(pa,i,n)
  243.             PV       Present value of ordinary annuity.   PV(py,i,n)
  244.             FV       Future value of ordinary annuity.    FV(py,i,n)
  245.             IRR      Internal Rate of Return.             IRR(g,r)
  246.  
  247.             AVG      The average.                         AVG(r)
  248.             COUNT    The number of items in range.        COUNT(r)
  249.             MIN      The smallest number in range.        MIN(r)
  250.             MAX      The biggest number in range.         MAX(r)
  251.             VAR      The population variance.             VAR(r)
  252.             STD      The pupulation standard deviation.   STD(r)
  253.  
  254.             Note: There is no SUM function, instead use the colon, ":", as
  255.                   discussed below under symbols.
  256.  
  257.             IF       Choose between two values.           IF(t,p1,p2)
  258.             NOT      Reverse true and false values.       NOT(t)
  259.             TRUE     Returns the value for true.          TRUE
  260.             FALSE    Returns the value for false.         FALSE
  261.             ERROR    Returns the value for error.         ERROR
  262.  
  263.             Where:  p,p1,p2 ... Constants, cell addresses or algebraic
  264.                                     expressions.
  265.                     i ......... Interest rate, may be any of the items
  266.                                     listed for "p" above.  Note: all
  267.                                     interest rates are stated in their
  268.                                     fractional format, i.e. "10% = 0.1".
  269.                     r ......... A range of cell addresses, i.e. "D4..H21".
  270.                     pa ........ Principle amount, may be any of the items
  271.                                     listed for "p" above.
  272.                     n ......... Number of periods, may be any of the
  273.                                     items listed for "p" above.
  274.                     py ........ Payment per period, may be any of the
  275.                                     items listed for "p" above.
  276.                     g ......... A guess at the interest rate, usually
  277.                                     between 0.0 and 1.0.
  278.                     t ......... A logical expression whose result is
  279.                                     0.0 for false and non-zero for true.
  280.  
  281.             Formulas may be quite complicated, an example is:
  282.  
  283.                         (A1+SIN(PI/2*(B2-C1)))
  284.  
  285.             The only limitations imposed are those of available memory and
  286.             the fact that no formula may be longer than 80 characters.
  287.             The financial and trig function are not recusive, for example
  288.             don't do this: (IRR(IRR(.2,D4..D20),E2..M2)), it won't work
  289.             very well, if at all.  If any of the formulas cannot calculate
  290.             the answer, for example if you ask for the SQRT of a negative
  291.             number, then the result will be ERROR and you will see the word
  292.             "ERR" in the result cell.
  293.  
  294.             Finally, a formula may contain the following symbols:
  295.  
  296.                        ^      Raise to the power.
  297.                        *      Multiplication
  298.                        /      Division
  299.                        +      Addition
  300.                        -      Subtraction
  301.                        :      Range summation
  302.                        |      Logical OR
  303.                        &      Logical AND
  304.                        >      Greater than test
  305.                        <      Less than test
  306.                        =      Equal test
  307.                        >=     Greater than or equal test
  308.                        <=     Less than or equal test
  309.  
  310.             These are probably familiar, with the exception of the ":" for
  311.             range summation.  Let's say that you want to sum a column of
  312.             numbers, beginning at D1 and ending at D20, then this
  313.             expression would sum the column, (D1:D20).
  314.  
  315.        2.   Overwritten cells.
  316.  
  317.             Turbo Calc will allow you to make text entries of any length up
  318.             to a mximum of 80 characters, numeric entries may be up to 11
  319.             characters.  Any text entry that exceeeds the cell width will
  320.             automatically lock the adjacent cell on the right.  The lock will
  321.             be relased when the length of the entry shrinks.
  322.  
  323.        3.   The Range and the commands that use it.
  324.  
  325.             The range is shown on the bottom left of the worksheet screen.
  326.             It is of the form: cell address..cell address.  If you have not
  327.             set the range, it defaults to the beginning and ending cell of
  328.             the worksheet.  There are two methods of setting the range:
  329.             1st, you can make the beginning and ending cells with the B and
  330.             K commands, 2nd, whenever one of the commands that use the
  331.             range is invoked, you have the opportunity of changing the
  332.             range by entering the new range.  For example the Copy command
  333.             will give you a menu with 3 options: Range, Copy and eXit.  If
  334.             you select the Range option, you will be allowed to enter a new
  335.             range, in the same format as displayed at the bottom of the
  336.             screen.  Here are the commands affected by the range: Copy,
  337.             Move and Print.
  338.  
  339.        4.   Printer Setup.
  340.  
  341.             If you select the Print command, one of the options presented
  342.             on the Print menu is "Setup".  If you select the Setup option
  343.             you will be able to control the margins and dimensions of the
  344.             printed report.  Also, you will be given the option called
  345.             Control.  The Control option allows you to specify printer
  346.             setup control codes and printer exit control codes.  These
  347.             control codes default to Form Feed characters, but you may
  348.             specify whatever necessary.  The convention for specifying
  349.             these codes is to use the decimal numbers representing the
  350.             control codes separated by commas.  You can also put plain text
  351.             in the control strings, if you surround the text with "
  352.             marks.  For example: "This is a control string",12,12
  353.             If this was the setup control string, when the print began the
  354.             program would send the following to the printer: 'This is a
  355.             control string' FF FF.  Of course, the quotes would not be
  356.             sent, and the FF is just a symbolic way to represent the form
  357.             feed character.  With this method, you may program your printer
  358.             in whatever way you wish.
  359.  
  360.             There are 2 dot commands for the printer.  If you put .PAGE in
  361.             column A of any row, it will cause a page break to occur at
  362.             that place.  The remainder of the row with the dot command
  363.             will not print.  After you have entered .PAUSE in column A of
  364.             a row, page breaks will cause a pause for you to insert the
  365.             next page and give you an option to reprint a page or exit
  366.             the print function.
  367.  
  368.        6.   Internal Rate of Return.
  369.  
  370.             This function provides an iterative approximation for the
  371.             interest rate which will produce a zero for the Net Present
  372.             Value function.  The range for this function should include
  373.             present cash flows as well as future cash flows.  The approach
  374.             to finding the zero is as follows, 14 loops thru the
  375.             "Bisection Method", followed by up to 6 loops thru the
  376.             "Modified-False Position Method".  Usually the IRR function
  377.             will converge to within 0.000001.  In some instances, where
  378.             the cash flows turn negative in a later period, there are
  379.             multiple solutions, however IRR finds the closest one only.
  380.             Your guess input to this function should be between 0.0 and 1.0.
  381.             In some cases, the function will not converge, either the
  382.             solution is too small or too large, in these cases the function
  383.             will return ERR.  Try adjusting you guess and recalculate.
  384.